package one.stand.request.essay;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import one.stand.request.BaseRequest;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 添加员工数据
 * @author luoyang
 * @date 2020/5/8 13:40
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="EssayStaffData对象", description="添加员工获客数据")
public class EssayStaffDataFrom  extends BaseRequest implements Serializable {

    @ApiModelProperty(value = "文章id",required = true)
    @NotNull(message = "文章不能为空")
    private Long dynamicId;

    @ApiModelProperty(value = "员工",required = true)
    @NotNull(message = "用户不能为空")
    private Long userId;

    @ApiModelProperty(value = "更新类型:1 分享文章数量 2 分享次数 3获客数")
    private Integer type;

    @ApiModelProperty(value = "企业ID")
    private Long companyId;
}
